/**  
* @Title: Visitor.java 
* @Description:
* @Copyright: Copyright (c) 2018
* @Company:http://www.sinocon.cn
* @author Administrator  
* @date 2018年3月29日  
* @version 1.0  
*/
package com.yuanlinsu.project.blog.entity;

import java.util.Date;

import javax.persistence.Id;
import javax.persistence.Table;

import com.yuanlinsu.project.system.BaseEntity;

/**
 * 访客表
 * 
 * @Title: Visitor
 * @Description:
 * @author:Administrator
 * @date 2018年3月29日
 */
@Table(name = "t_b_visitor")
public class Visitor extends BaseEntity{
	/** serialVersionUID*/ 
	private static final long serialVersionUID = 1L;
	@Id
	private int pid;
	private String vid;// 来访id
	private int uid;// 被访id
	private String pVisitorIp;// 来访IP
	private Date visitorTime;

	/**
	 * @return the pid
	 */
	public int getPid() {
		return pid;
	}

	/**
	 * @param pid
	 *            the pid to set
	 */
	public void setPid(int pid) {
		this.pid = pid;
	}

	/**
	 * @return the vid
	 */
	public String getVid() {
		return vid;
	}

	/**
	 * @param vid
	 *            the vid to set
	 */
	public void setVid(String vid) {
		this.vid = vid;
	}

	/**
	 * @return the uid
	 */
	public int getUid() {
		return uid;
	}

	/**
	 * @param uid
	 *            the uid to set
	 */
	public void setUid(int uid) {
		this.uid = uid;
	}

	

	/**
	 * @return the pVisitorIp
	 */
	public String getpVisitorIp() {
		return pVisitorIp;
	}

	/**
	 * @param pVisitorIp the pVisitorIp to set
	 */
	public void setpVisitorIp(String pVisitorIp) {
		this.pVisitorIp = pVisitorIp;
	}

	/**
	 * @return the serialversionuid
	 */
	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	/**
	 * @return the visitorTime
	 */
	public Date getVisitorTime() {
		return visitorTime;
	}

	/**
	 * @param visitorTime
	 *            the visitorTime to set
	 */
	public void setVisitorTime(Date visitorTime) {
		this.visitorTime = visitorTime;
	}

}
